import React from 'react'

export default function SearchInput({setQuery}) {
  return (
    <div>
        <input  onChange={(e)=>{
            setQuery(e.target.value);
        }}/>
    </div>
  )
}
